package com.dule.Medic.model;

import java.util.List;

import org.apache.tapestry5.beaneditor.Validate;


public interface MedEntry 
{
	public Long getId();
	public void setId(Long id);
	
	public String getDate();
	@Validate(value="required")
	public void setDate(String date);
	
	public String getData();
	@Validate(value="required")
	public void setData(String data);
	
	public Patient getPatient();
	@Validate(value="required")
	public void setPatient(Patient patient);
	
	public Doctor getDoctor();
	@Validate(value="required")
	public void setDoctor(Doctor doctor);
	
	public List<Prescription> getPrescriptions();
	@Validate(value="required")
	public void setPrescriptions(List<Prescription> prescriptions);
	public Prescription getPrescriptionById(Long id);
	public boolean UpdatePrescription(Prescription prescription);
}
